<%@page import="java.util.Iterator"%>
<%@page import="java.util.Set"%>
<%@ page language="java" contentType="application/xls; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@page import="com.crm.entity.Quotation"%>
<%@page import="java.util.List"%>
<%
List<Quotation> qlist=(List<Quotation>)request.getAttribute("qtlist");
        System.out.println("qlist in jsp "+qlist);
        if(qlist!=null){
        	if(qlist.size()!=0){
        		System.out.println("qlist size is "+qlist.size());
        %>
        
          <table width="98%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="left" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td>
                    <div id="demo3">
                    <table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bgcolor="#787878" class="tablebox" id="mnTable">
                        <thead>
                        <tr style="background:url('<%=application.getContextPath() %>/images/hed-bg-block-2.jpg'); background-repeat:repeat-x; background-position:left top">
                          
                          <td width="144" align="center" valign="middle" class="hed"><strong>Quotation Number</strong></td>
                          <td width="91" align="center" valign="middle" class="hed"><strong>Quotation Value</strong></td>
                          <td width="56" align="center" valign="middle" class="hed"><strong>Quotation Date</strong></td>
                          
                          <td width="135" align="center" valign="middle" class="hed"><strong>Remarks</strong></td>
                          
                          
                        </tr>
                        </thead>
                        <tbody>
                        <%
                        Iterator itr=qlist.iterator();
                  while(itr.hasNext()){
                	  Object obj=itr.next();
                	  Quotation qt=(Quotation)obj;
                  %>
                        <tr>
                          
                          <td bgcolor="#ffffff" title="<%=qt.getQuotno()%>" align="center">
                          
                          <%=qt.getQuotno()%>
                          
                          </td>
                          <td bgcolor="#ffffff" title="<%=qt.getQuotvalue()%>" align="center">
                          <%= qt.getQuotvalue()%>
                          </td>
                          <td bgcolor="#ffffff" title="<%=qt.getQutdate()%>" align="center">
                          <%= qt.getQutdate()%>
                          </td>
                          
                          <td  bgcolor="#ffffff" title="<%=qt.getRemarks()%>" align="center">
                            <%=qt.getRemarks()%>
                          </td>
                          
                           
                        </tr>
                 
                        <%
                       
                  }
				%>
				</tbody>
                    </table>
                    </div>
                    </td>
                  </tr>
                 
              </table></td>
            </tr>
            <tr>
           		<td align="left" >&nbsp;</td>
           			
           	</tr>
            
           	<tr>
           		<td align="left" >&nbsp;</td>
           			
           	</tr>  
                  
          </table>
        
        <%
        
        }
        }
		%>
